<div class="form">


<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'country-form',
	'enableAjaxValidation' => false,
));
?>

	<p class="note">
		<?php echo Yii::t('app', 'Fields with'); ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required'); ?>.
	</p>

	<?php echo $form->errorSummary($model); ?>

		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'country_code'); ?>
</div>
		<div class="rowControl"><?php echo $form->textField($model, 'country_code', array('maxlength' => 2,'class'=>'input-xlarge')); ?>
		<?php echo $form->error($model,'country_code'); ?>
		</div><!-- row -->
                </div>
        
		<div class="row">
		<div class="rowLabel"><?php echo $form->labelEx($model,'name'); ?>
</div>
		<div class="rowControl"><?php echo $form->textField($model, 'name', array('maxlength' => 45,'class'=>'input-xlarge')); ?>
		<?php echo $form->error($model,'name'); ?>
		</div><!-- row -->
                </div>
        
		 <div class="row">
        <div class="rowLabel"><?php echo $form->labelEx($model, 'is_active'); ?></div>
        <div class="rowControl"><?php echo $form->dropDownList($model, 'is_active', array("1" => "Active", "0" => "InActive"),array('class'=>'selectstatus')); ?>    
            <?php echo $form->error($model, 'is_active'); ?>
        </div><!-- row -->
    </div>
        

<div class="row">
    <div class="rowLabel">&nbsp;</div>
<?php
echo GxHtml::submitButton(Yii::t('app', 'Save'),array('class'=>'btn btn btn-primary'));
$this->endWidget();
?>
</div>
</div>
<!-- form -->
